home *** CD-ROM | disk | FTP | other *** search
/ MacFormat España 22 / macformat_22.iso / Shareware / Programación / The Gray Council 1.1 / projects / MacApp / MMyApplication.cp < prev    next >
Encoding:
Text File  |  1996-07-07  |  836 b   |  57 lines  |  [TEXT/CWIE]

  1. #ifndef __UPRINTING__
  2. #include <UPrinting.h>
  3. #endif
  4.  
  5. #ifndef __UMACAPPUTILITIES__
  6. #include <UMacAppUtilities.h>
  7. #endif
  8.  
  9. #ifndef __UERRORMGR__
  10. #include <UErrorMgr.h>
  11. #endif
  12.  
  13. #ifndef __UDIALOG__
  14. #include <UDialog.h>
  15. #endif
  16.  
  17. #ifndef __UDRAGDROP__
  18. #include "UDragDrop.h"
  19. #endif
  20.  
  21. #ifndef __UGRIDVIEW__
  22. #include <UGridView.h>
  23. #endif
  24.  
  25. #ifndef __USYNCHSCROLLER__
  26. #include "USynchScroller.h"
  27. #endif
  28.  
  29. #ifndef __UMACAPPGLOBALS__
  30. #include <UMacAppGlobals.h>
  31. #endif
  32.  
  33. #include "UMyApplication.h"
  34.  
  35. #pragma push
  36. #pragma processor 68000
  37.  
  38. #pragma segment Main
  39.  
  40. void main()
  41.     {
  42.     InitUMacApp(8);
  43.     InitUPrinting();
  44.     InitUTEView();
  45.     InitUDialog();
  46.     InitUDragManager();
  47.     InitUGridView();
  48.     InitUSynchScroller();
  49.     InitUFloatWindow();
  50.     
  51.     TMyApplication    *myApplication = new TMyApplication;
  52.     myApplication->IMyApplication();
  53.     myApplication->Run();
  54.     }
  55.  
  56. #pragma pop
  57.